import { MaterialService } from './material.service'
import { Resolver, Query } from '@nestjs/graphql'

@Resolver('Material')
export class MaterialResolver {
  constructor(private material: MaterialService) {}

  @Query('getMaterialList')
  getMaterialList() {
    return {
      item_count: 0,
      total_count: 0,
      item: []
    }
    // console.log('getMaterialList');
    // const list = await this.material.getMaterialList();
    // console.log(list);
    // return list;
  }
}
